package com.hgyc.mom.mes.entity;

import java.time.LocalDateTime;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;

import com.hgyc.mom.common.annotation.Excel;
import com.hgyc.mom.core.mybatis.EQ;
import com.hgyc.mom.core.mybatis.Like;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * <p>
 * 包装层级数量
 * </p>
 *
 * @author fwj
 * @since 2025-06-30
 */
@Data
@TableName("mes_package_rule_tier")
@Schema(name="包装层级数量对象", description="包装层级数量对象")
public class MesPackageRuleTier implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @Schema(description = "")
    private Long id;

    @Schema(description = "包装规则")
    private Long ruleId;

    @Excel(name = "包装层级")
    @Schema(description = "包装层级")
    private String tierName;

    @Excel(name = "包装数量")
    @Schema(description = "包装数量")
    private Long tierQty;

    @Schema(description = "编码规则")
    private Long codeRuleId;

    @Schema(description = "标签模板")
    private Long labelTemplateId;

    @Excel(name = "描述")
    @Schema(description = "描述")
    private String remark;

    @TableField(fill = FieldFill.INSERT)
    @Schema(description = "")
    private Long createBy;

    @TableField(fill = FieldFill.INSERT)
    @Schema(description = "")
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.UPDATE)
    @Schema(description = "")
    private Long updateBy;

    @TableField(fill = FieldFill.UPDATE)
    @Schema(description = "")
    private LocalDateTime updateTime;

}